package com.jieshuibao.model.db;

import java.util.Date;

public class QuestionUserOwnMsg {
	private String uuid; //问题id
	
	private String content;  //问题内容
	
	private Date date;   //问题发布的时间
	
	private String imgs;    //问题图片
	
	private String[] images;  //问题图片
	 
	private String phoneNumber;  //用户手机号//  
	
	private String headImage;//
	
	private String realName;   //用户的昵称   //
	
	private Integer integralScore;  
	
	private int role;//
	
	private String counselorDuty;//
	
	private String levelName;
	
	private String province;//
	
	private String trade; //
	
	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getTrade() {
		return trade;
	}

	public void setTrade(String trade) {
		this.trade = trade;
	}

	
	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getImgs() {
		return imgs;
	}

	public void setImgs(String imgs) {
		this.imgs = imgs;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getHeadImage() {
		return headImage;
	}

	public void setHeadImage(String headImage) {
		this.headImage = headImage;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public Integer getIntegralScore() {
		return integralScore;
	}

	public void setIntegralScore(Integer integralScore) {
		this.integralScore = integralScore;
	}

	public int getRole() {
		return role;
	}

	public void setRole(int role) {
		this.role = role;
	}

	public String getCounselorDuty() {
		return counselorDuty;
	}

	public void setCounselorDuty(String counselorDuty) {
		this.counselorDuty = counselorDuty;
	}

	public String getLevelName() {
		return levelName;
	}

	public void setLevelName(String levelName) {
		this.levelName = levelName;
	}

	
	public String[] getImages() {
		String[] split=null;
		String imgs2 = getImgs();
		if(imgs2!=null&&!imgs2.equals("")){
			String replaceAl = imgs2.replaceAll("(\"|\\[|\\])", "");
			split = replaceAl.split(",");
			return split;
		}
		return images;
	
	}

	public void setImages(String[] images) {
		this.images = images;
	}
}
